package cc.comac.mom.entity;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import cc.comac.mom.entity.base.BaseResultEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

@TableName(value = "quality_purchase_order_info")
@Data
@EqualsAndHashCode(callSuper=true)
public class QualitySapPurchaseOrderEntity extends BaseResultEntity{

	private static final long serialVersionUID = 1L;
	@TableField(value="purchase_order_id")
	@TableId(value = "purchase_order_id",type=IdType.INPUT )
	private long   id;
	
	private String materialDocument;
	private String materialDocumentYear;
	private String postingDate;
	private String username;
	private String materialDocumentItem;
	private String material;
	private String materialDescription;
	private String materialType;
	private String materialTypeDescription;
	private String materialGroup;
	private String materialGroupDescription;
	private String paiHao;
	private String banCi;
	private String guiFan;
	private String guiGe;
	private String caiLiaoXingShi;
	private String zhuangTaiXingShi;
	private String xing;
	private String lei;
	private String ji;
	private String se;
	private String zpmCpmSpm;
	private String dengXiaoGuiFan;
	private String dengXiaoJianHao;
	private String wbsnumber;
	private String wbsdescription;
	private String vendor;
	private String vendorName;
	private String ruanJianBanBen;
	private String ruanJianJianHao;
	private String batchNumber;
	private String vendorBatchNumber;
	private String serialNumber;
	private BigDecimal quantity;
	private String bom;
	private BigDecimal stockQuantity;
	private String stockUnit;
	private String purchaseOrder;
	private String purchaseOrderType;
	private String potypeDescription;
	private String purchaseOrganization;
	private String purchaseOrganizationDesc;
	private String purchaseOrderItem;
	private String contractNo;
	private String purchaseOrderDate;
	private String plant;
	private String storageLocation;
	private BigDecimal purchaseOrderQuantity;
	private String purchaseOrderUom;
	private int isGenerateQar;
	private String isFrr;
	private String isVerify;
	/**
	 * 内向交货单号
	 * */
	private String vbeln;
	@TableField(value ="ea_0")
	private String ea0;
	@TableField(value ="ea_1")
	private String ea1;
	@TableField(value ="ea_2")
	private String ea2;
	@TableField(value ="ea_3")
	private String ea3;
	@TableField(value ="ea_4")
	private String ea4;
	
}